package com.njupt.user.service;

import com.njupt.user.model.User;

import java.util.List;
import java.util.Map;

public interface UserService {


    //查询用户service接口
    public List<User> selectUser(Map map);

    public User getUser(Map<String, String> map);

    public User getUser1(Map<String, String> map);

    public void updateUser(Map map);

    public User getOneUser(String username);

    public void updatePassword(Map<String, String> map);

    @SuppressWarnings("rawtypes")
    public List<User> findBylikeNow(Map map);

    public List<User> findAll();

    public List<User> findByPage(int nowpage);


    //用户注册
    public void register(Map map);


    public List<User> findUserByUsername(Map<String, String> map);

    @SuppressWarnings("rawtypes")
    public void updateTypeByid(Map map);

    @SuppressWarnings("rawtypes")
    public void frozenOrNot(Map map);

    public List<User> getUserById(int userid);




    //密码找回
    @SuppressWarnings("rawtypes")
    public User retrieve(Map map);/*  username-username  tel-tel*/


    @SuppressWarnings("rawtypes")
    public void invest(Map map);


    @SuppressWarnings("rawtypes")
    public void coin(Map map);

}

